#ifndef INTERFACEPCAP_H
#define INTERFACEPCAP_H
typedef void (*ppp_frame_hanler)(unsigned char* buffer);

int init_pcap_handle(char* dev_name, char* filter, ppp_frame_hanler frame_handler);
void release_pcap_handle();

void begin_capture();
void end_capture();
void send_data(unsigned char* data, int length);

void list_all_dev();
#endif // INTERFACEPCAP_H
